package com.umeox.watch.moto.dataservice.mqtt.bean.eventbean;

import com.alibaba.fastjson.JSONArray;

import java.util.List;

/**
 * Created by Rambo 2021/9/26
 * Describe:基础定位信息
 */
public class BaseLocation {


    /**
     * eventId : uuid
     * hoderId : do841zi2qlgg3k6jg
     * location : [{"startTime":"2021-09-01T12:00:00+08:00","endTime":"2021-09-01T12:30:00+08:00","mode":1,"order":132,"lat":113.947825,"lng":22.5521785,"accuracy":100,"speed":0,"direction":0,"height":0,"temperature":0,"battery":50,"charge":0,"cellTower":"460#11#127121028#16662#65","nearByCellTowers":["460#11#124994561#30478#65","460#11#124994561#30478#65"],"wifiPoints":[["38:ad:be:1d:da:9a","xin-WHERECOM","-66"],["84:82:f4:32:99:85","WHERECOM","-66"],["84:82:f4:32:99:9d","WHERECOM","-61"]],"network":"LTE"}]
     */

    public String eventId;
    public String holderId;
    public List<LocationBean> location;

    public static class LocationBean {
        /**
         * startTime : 2021-09-01T12:00:00+08:00
         * endTime : 2021-09-01T12:30:00+08:00
         * mode : 1
         * order : 132
         * lat : 113.947825
         * lng : 22.5521785
         * accuracy : 100
         * speed : 0
         * direction : 0
         * height : 0
         * temperature : 0
         * battery : 50
         * charge : 0
         * cellTower : 460#11#127121028#16662#65
         * nearByCellTowers : ["460#11#124994561#30478#65","460#11#124994561#30478#65"]
         * wifiPoints : [["38:ad:be:1d:da:9a","xin-WHERECOM","-66"],["84:82:f4:32:99:85","WHERECOM","-66"],["84:82:f4:32:99:9d","WHERECOM","-61"]]
         * network : LTE
         * step: 999
         */

        public String startTime;
        public String endTime;
        public int mode;
        public int order;
        public double lat;
        public double lng;
        public Double accuracy;
        public Double speed;
        public Double direction;
        public Double height;
        public Integer temperature;
        public int battery;
        public int charge;
        public String cellTower;
        public String network;
        public JSONArray nearByCellTowers;
        public JSONArray wifiPoints;
        public int coordType;//坐标系类型 1：WGS84，2：GCJ02，3：BD09；
        public int step;
    }
}
